package com.zy.entity;

import java.util.Date;

public class Order {
    private Integer id;
    private String paymentAmount;
    private Date paymentTime;
    private Integer userId;
    private String username;

    public Order(Integer id, String paymentAmount, Date paymentTime, Integer userId, String username) {
        this.id = id;
        this.paymentAmount = paymentAmount;
        this.paymentTime = paymentTime;
        this.userId = userId;
        this.username = username;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setPaymentAmount(String paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getId() {
        return id;
    }

    public String getPaymentAmount() {
        return paymentAmount;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getUsername() {
        return username;
    }
}
